<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			
			div{
				width: 200px;
				height: 200px;
				background-color: red;
			}
			
		</style>
	</head>
	<body>
		
		<input type="button" onclick="hello();" value="调用hello方法" />
		
		
		<br/>
		<br/>
		<br/>
		<br/>
		<br/>
		<br/>
		
		<div ondblclick="hello();" >
			
		</div>
		
		<script>
			
			function hello(){
				alert('10086');
			}
		</script>
	</body>
</html>
